Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetMouseDownTracking

You can use the QTVRSetMouseDownTracking function to set the state of mouse-down tracking.

OSErr QTVRSetMouseDownTracking (QTVRInstance qtvr, Booleanenable);
qtvr
An instance of a QuickTime VR movie.
enable
A Boolean value that indicates whether QuickTime VR should handle mouse-down tracking for the specified movie ( true ) or not ( false ).
function result
A result code.

DESCRIPTION

The QTVRSetMouseDownTracking function sets the mouse-down tracking state of the QuickTime VR movie specified by the qtvr parameter to the state specified by the enable parameter. By default, QuickTime VR tracks mouse clicks in a QuickTime VR movie and triggers hot spots as appropriate. If you disable mouse-down tracking (by passing false in the enable parameter), you must call the QTVRMouseDown , QTVRMouseStillDown , and QTVRMouseUp functions at the appropriate times to handle user actions.

SEE ALSO

Use QTVRGetMouseDownTracking (link) to get the current mouse-down tracking state of a QuickTime VR movie.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |